package com.gct.domain;

import java.util.Date;

import org.apache.ibatis.type.Alias;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;

@Alias("art")
@JsonInclude(Include.NON_NULL)
//@JsonInclude(Include.NON_DEFAULT)
public class Art extends BasePojo {
    private static final long serialVersionUID = 5170549741501012019L;

    @JsonProperty(value="desc")
    private String description;
    @JsonIgnore
    private long statisticsPlay;
    @JsonIgnore
    private long statisticsOpen;
    @JsonIgnore
    private long statisticsCollect;
    @JsonIgnore
    private long statisticsDownload;
    @JsonIgnore
    private short starLevel;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createDate;
    @JsonProperty("reps")
    private Representer representer;
    private String uri;
    private String duration;
    @JsonIgnore
    private long durationLong;
    private String imgURI;

    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public long getStatisticsPlay() {
        return statisticsPlay;
    }
    public void setStatisticsPlay(long statisticsPlay) {
        this.statisticsPlay = statisticsPlay;
    }
    public long getStatisticsOpen() {
        return statisticsOpen;
    }
    public void setStatisticsOpen(long statisticsOpen) {
        this.statisticsOpen = statisticsOpen;
    }
    public long getStatisticsCollect() {
        return statisticsCollect;
    }
    public void setStatisticsCollect(long statisticsCollect) {
        this.statisticsCollect = statisticsCollect;
    }
    public long getStatisticsDownload() {
        return statisticsDownload;
    }
    public void setStatisticsDownload(long statisticsDownload) {
        this.statisticsDownload = statisticsDownload;
    }
    public Date getCreateDate() {
        return createDate;
    }
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    public Representer getRepresenter() {
        return representer;
    }
    public void setRepresenter(Representer representer) {
        this.representer = representer;
    }
    public String getUri() {
        return uri;
    }
    public void setUri(String uri) {
        this.uri = uri;
    }
    public String getDuration() {
        return duration;
    }
    public void setDuration(String duration) {
        this.duration = duration;
    }
    public long getDurationLong() {
        return durationLong;
    }
    public void setDurationLong(long durationLong) {
        this.durationLong = durationLong;
    }
    public String getImgURI() {
        return imgURI;
    }
    public void setImgURI(String imgURI) {
        this.imgURI = imgURI;
    }
    public short getStarLevel() {
        return starLevel;
    }
    public void setStarLevel(short starLevel) {
        this.starLevel = starLevel;
    }
}
